<template>
    <view class="bg-[#EAEAEA] min-h-screen">
        <view class="h-[10rpx]"></view>
        <view class="bg-white mx-[30rpx] text-[30rpx] px-[30rpx] py-[20rpx] rounded-lg font-medium">

            <view class="border-b border-[#EFEFEF]">
                <view class=" font-bold">基础数据</view>
                <view class="flex  items-center mt-[20rpx]">
                    <text class="ml-[2em]">班级</text> <u-radio-group v-model="radiovalue" @change="groupChange">
                        <u-radio :customStyle="{ marginLeft: '18px' }" v-for="(item, index) in list" :key="index"
                            :label="item.name" :name="item.name">
                        </u-radio>
                    </u-radio-group>
                </view>
            </view>
            <view class="py-[20rpx]  flex flex-col items-center text-[34rpx] ">
                <view @click="navigateTo('/pages/schoolDataStatistics/schoolDataStatistics')"
                    class="w-[452rpx] h-[110rpx] rounded-[167rpx] flex items-center justify-center mt-[20rpx] text-[#FD775D] bg-[#ffe3df]">
                    学校数据统计</view>
                <view @click="navigateTo('/pages/offlineStatisticalDetails/offlineStatisticalDetails')"
                    class="w-[452rpx] h-[110rpx] rounded-[167rpx] flex items-center justify-center mt-[20rpx] text-[#FD775D] bg-[#ffe3df]">
                    班级详情统计</view>
            </view>



        </view>
        <view class="bg-white mx-[30rpx] mt-[20rpx] text-[30rpx] px-[30rpx] py-[20rpx] rounded-lg font-medium">

            
                <view class=" font-bold py-[20rpx]">教学数据</view>
          
            <view class="py-[20rpx]  flex flex-col items-center text-[34rpx] ">
                <view @click="navigateTo('/pages/offlineStatisticalTeaching/offlineStatisticalTeaching')"
                    class="w-[452rpx] h-[110rpx] rounded-[167rpx] flex items-center justify-center mt-[20rpx] text-[#FD775D] bg-[#ffe3df]">
                    线下教学统计</view>
                <view
                    class="w-[452rpx] h-[110rpx] rounded-[167rpx] flex items-center justify-center mt-[20rpx] text-[#FD775D] bg-[#ffe3df]">
                    线上教学统计</view>
            </view>



        </view>
    </view>
</template>
<script setup>
import { ref, reactive, onMounted, onUnmounted, getCurrentInstance, watch } from 'vue';
const list = ref([{ name: '在用' }, { name: '历史' }])
const groupChange = () => {

}
const navigateTo = (url) => {
  uni.navigateTo({
    url
  })
}
</script>